projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ff253b
)
Panic rather than BUG if an error is encountered decompressing a bzImage
author
Keir Fraser
<keir.fraser@citrix.com>
Fri, 6 Mar 2009 18:55:05 +0000
(18:55 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Fri, 6 Mar 2009 18:55:05 +0000
(18:55 +0000)
This gives a more useful error message without an unnecessary stack dump.
Noticed by Jeremy Fitzhardinge.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
xen/arch/x86/bzimage.c
patch
|
blob
|
history
diff --git
a/xen/arch/x86/bzimage.c
b/xen/arch/x86/bzimage.c
index 37bc78eec27bd278ea6c153887517ec29d6e1983..484367791697f102365c6f0690b2f3327c138eae 100644
(file)
--- a/
xen/arch/x86/bzimage.c
+++ b/
xen/arch/x86/bzimage.c
@@
-58,8
+58,7
@@
static void flush_window(void);
static __init void error(char *x)
{
- printk("%s\n", x);
- BUG();
+ panic("%s\n", x);
}
static __init int fill_inbuf(void)